package com.msb.pojo;

import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;
import org.springframework.stereotype.Component;

@Data
@AllArgsConstructor//有参构造
@NoArgsConstructor//无参构造
public class Dog {
    private String name;
    private int age;
}
